package com.yourenbang.transaction.api.model.dto.manage;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * Created on 2021/12/7
 *
 * @author qinmingtao
 * desc 基梯后台-提现确认
 */
@Data
public class ConfirmClientWithdrawOrderDTO {
    /**
     * 终端编号
     */
    @NotBlank(message = "终端编号不能为空")
    private String clientNo;

    @Pattern(regexp = "^(([1-9]{1}\\d*)|([0]{1}))(\\.(\\d){0,2})?$", message = "请输入合法金额")
    private String amount;

    /**
     * 账户类型 21100320 服务费账户 21100340分润账户
     */
    private Integer accountType;
}
